import { ProPageConfig, ColumnProps } from '@hdzk-hel/pangu'

import dayjs from 'dayjs'
import utc from 'dayjs/plugin/utc'
import timezone from 'dayjs/plugin/timezone'
dayjs.extend(utc)
dayjs.extend(timezone)
// import { DocumentCopy } from "@element-plus/icons-vue";

export const config: ProPageConfig = {
  filter: true,
  resetter: true,
  title: '计划排产'
}
export const options = [
  { label: '施工号：', value: 'constructionNo' },
  { label: '物料名称：', value: 'materialNm' },
  { label: '销售人员：', value: 'salesperson' },
  { label: '排产人员：', value: 'producer' }
]
export const filterList: ObjectProps[] = [
  {
    label: '类别',
    type: 'select',
    genre: 'type',
    children: [
      { label: 'DK', value: '1' },
      { label: '阀', value: '2' },
      { label: '阀+DK', value: '3' }
    ]
  },
  {
    label: '是否完工',
    type: 'select',
    genre: 'isComplete',
    children: [
      { label: '是', value: 1 },
      { label: '否', value: 0 }
    ]
  },
  {
    label: '是否排产',
    type: 'select',
    genre: 'prodTmIsNull',
    children: [
      { label: '是', value: 0 },
      { label: '否', value: 1 }
    ]
  }
]
// 表格表头
export const columns: ColumnProps[] = []

// {
//   label: '序号',
//   type: 'index',
//   width: 60,
//   fixed: true
// },
// {
//   prop: 'producer',
//   label: '排产人员',
//   width: 94
// },
// {
//   prop: 'remark',
//   label: '备注',
//   width: 194
// },
// { prop: 'operation', label: '操作', fixed: 'right', width: 90 }